package org.stanzmaster.service;

import org.stanzmaster.entity.*;

import java.util.List;

public interface CrudService { 
	public String login(String nick, String pass);
	public int insertStanz(Stanz st, String user);
	public Stanz updateStanz(Stanz st, String user);
	public void deleteStanz(int stId, String user);
	public List<Stanz> returnAllStanz();
	
	public int insertHistory(String user, String st_label, String ev);
	public List<History> returnAllHistory();
	
	public int insertContact(Contact ct);
	public Contact updateContact(Contact ct);
	public void deleteContact(int ctId);
	public List<Contact> returnAllContact();
	
	public List<String> returnAllCustomer();
	public List<String> returnAllProduct();
	
	public void send(String address, String body, Stanz st);
}